Ext.define('HIT.store.DBOuttingDestStore', {
    extend: 'Ext.data.Store',

    requires: [
        'HIT.model.DBOuttingModel'
    ],

    constructor: function(cfg) {
        var me = this;
        cfg = cfg || {};
        me.callParent([Ext.apply({
            storeId: 'dbouttingdestStore',
            model: 'HIT.model.DBOuttingModel',
            data: [
                   {columnname:'LEDGER_CODE',datatype:'String'},
                   {columnname:'CENTURY',datatype:'String'},
                   {columnname:'FISCAL_YEAR',datatype:'String'},
                   {columnname:'FISCAL_PERIOD',datatype:'String'}, 
                   {columnname:'ERP_ALL_ACCOUNT',datatype:'String'},
                   {columnname:'PROFIT_CTR',datatype:'String'}, 
                   {columnname:'COST_CTR',datatype:'String'},
                   {columnname:'INTER_ORDER',datatype:'String'}, 
                   {columnname:'WBS_ELEMENT',datatype:'String'},
                   {columnname:'LOCAL_ACCOUNT',datatype:'String'}, 
                   {columnname:'ERP_ALL_ACCOUNT_DESC',datatype:'String'},
                   {columnname:'POSTING_DATE',datatype:'DateTime'}, 
                   {columnname:'ENTRYDATE',datatype:'DateTime'},
                   {columnname:'BATCH_NO',datatype:'String'}, 
                   {columnname:'ENTRY_NO',datatype:'String'},
                   {columnname:'ITEM',datatype:'String'}, 
                   {columnname:'SENTRY_DESC1',datatype:'String'},
                   {columnname:'SENTRY_DESC2',datatype:'String'}, 
                   {columnname:'SCURRENCY',datatype:'String'},
                   {columnname:'LCURRENCY',datatype:'String'}, 
                   {columnname:'AMOUNT_DB',datatype:'Number'},
                   {columnname:'AMOUNT_CR',datatype:'Number'}, 
                   {columnname:'EXCHANGE_RATE',datatype:'Number'},
                   {columnname:'EXCHANGE_DATE',datatype:'String'}, 
                   {columnname:'AMOUNT_LOCALDB',datatype:'Number'},
                   {columnname:'AMOUNT_LOCALCR',datatype:'Number'}, 
                   {columnname:'SOURCE_TYPE',datatype:'Char'},
                   {columnname:'ENTRY_NO_SECONDARY',datatype:'String'}, 
                   {columnname:'ENTRY_NO_TYPE',datatype:'String'},
                   {columnname:'DETAIL_TYPE',datatype:'Number'}, 
                   {columnname:'REFRENCE1',datatype:'String'},
                   {columnname:'REFRENCE2',datatype:'String'}, 
                   {columnname:'REFRENCE3',datatype:'String'},
                   {columnname:'REFRENCE4',datatype:'String'}, 
                   {columnname:'REFRENCE5',datatype:'String'},
                   {columnname:'REFRENCE6',datatype:'String'}, 
                   {columnname:'REFRENCE7',datatype:'String'},
                   {columnname:'REFRENCE8',datatype:'String'}, 
                   {columnname:'REFRENCE9',datatype:'String'},
                   {columnname:'REFRENCE10',datatype:'String'}, 
                   {columnname:'REFRENCE11',datatype:'String'},
                   {columnname:'REFRENCE12',datatype:'String'}, 
                   {columnname:'REFRENCE13',datatype:'String'},
                   {columnname:'REFRENCE14',datatype:'String'}, 
                   {columnname:'REFRENCE15',datatype:'String'}                 
                   ]
        }, cfg)]);
    }
});